package edu.whu;

import org.springframework.lang.Nullable;

public class BeanDefinition {
    String name;
    @Nullable
    Integer age;

    String status = "off";

    public BeanDefinition() {
    }

    public BeanDefinition(String name, @Nullable Integer age, String status) {
        this.name = name;
        this.age = age;
        this.status = status;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
